<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>day03</title>
</head>
<body>
    <script type="text/javascript">
        fangfa();
        function fangfa() {
            alert("方法");
        }
    </script>
</body>
</html>